//
//  AboutUsViewController.m
//  LOL视频播放
//
//  Created by 花花蔡 on 2016/12/12.
//  Copyright © 2016年 com.HuaHuaCai. All rights reserved.
//

#import "AboutUsViewController.h"
#import "Public.h"
#import "BaseTabBarController.h"
@interface AboutUsViewController ()

@end

@implementation AboutUsViewController

-(void)viewWillAppear:(BOOL)animated {
    [[BaseTabBarController sharedBaseTabBarController].tabBar setHidden:YES];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
}

-(void)viewWillDisappear:(BOOL)animated {
    [[BaseTabBarController sharedBaseTabBarController].tabBar setHidden:NO];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)setupUI {
    UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 44, screen_width, screen_height)];
    imageView.image = [UIImage imageNamed:@"beijing.jpg"];
    [self.view addSubview:imageView];
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 300, 30)];
    label.center = CGPointMake(screen_width/2, screen_height/2 -  50);
    label.backgroundColor = [UIColor clearColor];
    label.font = [UIFont boldSystemFontOfSize:16];
    label.textAlignment = NSTextAlignmentCenter;
    label.text = @"开发者:CLL";
    
    UILabel *phoneLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 300, 30)];
    phoneLabel.center = CGPointMake(screen_width/2, screen_height / 2 );
    phoneLabel.backgroundColor = [UIColor clearColor];
    phoneLabel.text = @"意见反馈:744513163@qq.com";
    phoneLabel.textAlignment = NSTextAlignmentCenter;
    phoneLabel.font = [UIFont boldSystemFontOfSize:16];
    [self.view addSubview:phoneLabel];
    [self.view addSubview:label];
    
}
@end
